SELECT PHOTO as IMG from foto WHERE UID='d9784d4d-a7f8-4c77-eb6c-20dbe07502fa' AND TITLE='самотечная (2' LIMIT 0,1